# -*- coding: utf-8 -*-
"""
@Time：YourTime
@Author  : jiahuifeng
@Desc    : 接口平台登录接口
"""

from fastapi import APIRouter, status, HTTPException
from pydantic import BaseModel, Field
from orm.models import User_Register


api_logout = APIRouter()


# 创建密码哈希上下文
# pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")


@api_logout.post('/logout', status_code=status.HTTP_200_OK)
async def user_login():
    return {
        "status": status.HTTP_200_OK,
        "message": "success"
    }
